{% extends "mainapp/base.html" %}

{% block title %}确认删除{% endblock %}

{% block content %}
    <h1 class="mt-4">确认删除用户 - {{ user.username }}</h1>
    <form method="post" class="mt-4">
        {% csrf_token %}
        <p>你确定要删除这个用户吗？此操作无法撤销。</p>
        <button type="submit" class="btn btn-danger">确认删除</button>
        <a href="{% url 'user_list' %}" class="btn btn-secondary">取消</a>
    </form>
{% endblock %}
